import { createApp } from 'vue';
import App from './App.vue';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import * as Icons from '@element-plus/icons-vue';
import router from './router.js';
import * as echarts from 'echarts';
const app = createApp(App);
app.use(ElementPlus);
for (const [key, component] of Object.entries(Icons)) {
    app.component(key, component);
    app.config.globalProperties.$echarts = echarts;
  }
app.use(router);
  app.mount('#app');